﻿using Aluetjen.EmailService.Domain.Services;
using StructureMap.Configuration.DSL;

namespace Aluetjen.EmailService.Infrastructure.Registries
{
    public class ServiceRegistry : Registry
    {
        public ServiceRegistry()
        {
            For<IPipelineService>().Add<DispatchService>();
            For<IPipelineService>().Add<RedirectionService>();
            For<IPipelineService>().Add<TransformationService>();

            For<IPipelineProcessorService>().Use<PipelineProcessorService>();
        }
    }
}